"""Sample test script using zope.testing.testrunner

see zope.testing testrunner.txt
"""

import os, sys

src = os.path.join(os.path.split(sys.argv[0])[0], 'src')
sys.path.insert(0, src) # put at beginning to avoid one in site_packages

from zope.testing import testrunner

defaults = [
    '--path', src,
    '--tests-pattern', '^tests$',
    ]

sys.exit(testrunner.run(defaults))
